/***********************************************************************
 * This program illustrates process supervision in PORN-OS.            *
 * It includes one main program that spawns children and does the      *
 * supervision. It also includes a child program that sends messages   * 
 * to its parent (here, the supervisor). Every 10 messages, the child  * 
 * "crashes" and is restarted by its parent. When memory runs out, the *
 * supervisor stops supervising and terminates. So do the children     *
 ***********************************************************************/

#include "api.h"

void supervisor(int nb_children);

void supervision_child();
